import java.util.Arrays;


public class Company {
  String[] workers = {"worker1","worker3","worker2"};
  public int search (String worker) {
    return Arrays.binarySearch(workers, worker);
  }
}
